import requests


class SendReportMessage:

    # 发送钉钉群
    def send_dingtalk_message(self, data):
        url = 'https://oapi.dingtalk.com/robot/send?access_token=bdea2c885332c5c5ec5aa13410fe74ae6365868968ef80d72da8a805ce7bf6ef'
        params = {"text": {"content": data}, "msgtype": "text"}
        res = requests.post(url=url, json=params)
        print(res)

    # 发送企业微信
    def send_qiwei_message(self, data):
        pass
